package com.wn.common.utils;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Pages<T> implements Serializable {

    private List<T> list = new ArrayList<T>();
    private long total;
    private int pageNum;
    private int pageSize;

}